First Class Futures: Specification and Implementation of Update Strategies

نویسندگان

  • Ludovic Henrio
  • Muhammad Uzair Khan
  • Nadia Ranaldo
  • Eugenio Zimeo
چکیده

A natural way to benefit from distribution is via asynchronous invocations to methods or services. Upon invocation, a request is enqueued at the destination side and the caller can continue its execution. But a question remains: “what if one wants to manipulate the result of an asynchronous invocation?” First-class futures provide a transparent and easy-to-program answer: a future acts as the placeholder for the result of an asynchronous invocation and can be safely transmitted between processes while its result is not needed. Synchronization occurs automatically upon an access to the result. As references to futures disseminate, a strategy is necessary to propagate the result of each request to the processes that need it. This paper studies the efficient transmission of results: it presents three strategies in a semi-formal manner, providing experimental results highlighting their benefits and drawbacks.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

First-class Futures: a Study of Update Strategies

Futures enable an efficient and easy to use programming paradigm for distributed applications. A natural way to benefit from distribution is to perform asynchronous invocations to methods or services. Upon invocation, a request is en-queued at the destination side and the caller can continue its execution. But a question remains: “what if one wants to manipulate the result of an asynchronous in...

متن کامل

A Review of Alcohol-Related Harms: A Recent Update

In the early decades of the 20th century, discussions regarding alcohol were dominantly directed toward itstherapeutic uses, but authorities now state that any level of alcohol consumption poses negative effects onhealth. Over recent months, increased attention has been devoted to disease burdens attributable to alcoholuse worldwide. As more...

متن کامل

CAMAC: a context-aware mandatory access control model

Mandatory access control models have traditionally been employed as a robust security mechanism in multilevel security environments such as military domains. In traditional mandatory models, the security classes associated with entities are context-insensitive. However, context-sensitivity of security classes and flexibility of access control mechanisms may be required especially in pervasive c...

متن کامل

Future research and presentation of quality development trends in public universities in Tehran: Based on the approach of the world-class university

 Introduction: A brief study of the evolution of higher education in Iran and how universities and higher education centers have expanded shows that the process of university planning is not being considered. The purpose of this study is to design and validate the future research model of qualitative development trends of public universities in Tehran based on the university's approach at the g...

متن کامل

We Need Compassionate Leadership Management Based on Evidence to Defeat COVID-19

The current pandemic of coronavirus disease 2019 (COVID-19) has had unprecedented reach and shown the need for strong, compassionate and evidence-based decisions to effectively stop the spread of the disease and save lives. While aggressive in its response, Rwanda prioritized the lives of its people – a human right that some governments forget to focus on. The country t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010